package aufgabe1;

import java.util.ArrayList;

public abstract class AdjacencyStructure {
	
	protected Graph _g; //reference back to the graph
	
	/*
     * Two types
     */
    public enum Type {
        MATRIX,
        LIST
    }


    protected AdjacencyStructure(Graph g) {
        _g = g;
    }
    
    abstract ArrayList<Vertice> getNeighbours(int key);
    
	
	protected void print() {
		
		System.out.println("" + getClass().getSimpleName());
		
	}
}
